package view.views.dialogContentViews;

import java.awt.FlowLayout;

import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;

import model.Constants;
import view.components.SubnetComboBox;

public class MultiAddIpContentPanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final SubnetComboBox subnetBox = new SubnetComboBox();
	private final JPanel variable;

	public MultiAddIpContentPanel() {

		this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

		JPanel boxLabelPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
		JPanel boxPanel = new JPanel(boxLabelPanel.getLayout());

		JLabel boxLabel = new JLabel(Constants.CHOOSESUBNET);
		boxLabelPanel.add(boxLabel);

		boxPanel.add(subnetBox);

		this.add(boxLabelPanel);
		this.add(boxPanel);

		variable = new JPanel();
	}

	public SubnetComboBox getComboBox() {
		return subnetBox;
	}

	public JPanel getVariable() {
		return variable;
	}
}
